<!--
 * @Description: Description
 * @Author: zkx
 * @Date: 2022-10-31 15:11:49
 * @LastEditors: zkx
 * @LastEditTime: 2022-12-01 15:16:36
-->
<template>
  <div>
    <el-tabs v-model="activeName">
      <el-tab-pane label="员工欢迎语" name="1">
        <create-greeting v-if="activeName == 1" />
      </el-tab-pane>
      <el-tab-pane label="群欢迎语" name="2">
        <groupGreeting v-if="activeName == 2" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import createGreeting from './createGreeting'
import groupGreeting from '@/views/customerOperations/groupGreeting'
export default {
  name: 'WelcomeMessageSeeting',
  components: { createGreeting, groupGreeting },
  data() {
    return {
      activeName: '1'
    }
  },
}
</script>
